package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.math.BigDecimal;
import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_CALCULATION_MONTH;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_COMPANY_ID;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_COMPANY_NAME;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_DIVIDED_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_IS_NEW;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_REBATES_AMOUNT;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_REBATES_RULES_ID;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_REMARK;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_RULES_NAME;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_SALE_NAME;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_SALE_USER_ID;
import static org.jsola.hr.example.SaleRebatesRecordExample.E_SERVER_COST;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_CALCULATION_MONTH;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_COMPANY_ID;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_COMPANY_NAME;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_DIVIDED_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_IS_NEW;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_REBATES_AMOUNT;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_REBATES_RULES_ID;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_REMARK;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_RULES_NAME;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_SALE_NAME;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_SALE_USER_ID;
import static org.jsola.hr.example.SaleRebatesRecordExample.N_SERVER_COST;

/**
 * 返费记录
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【返费记录】列表展示对象")
@Data
public class SaleRebatesRecordListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_SALE_USER_ID, example = E_SALE_USER_ID)
    private String saleUserId;

    @ApiModelProperty(notes = N_SALE_NAME, example = E_SALE_NAME)
    private String saleName;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_COMPANY_NAME, example = E_COMPANY_NAME)
    private String companyName;

    @ApiModelProperty(notes = N_CALCULATION_MONTH, example = E_CALCULATION_MONTH)
    private String calculationMonth;

    @ApiModelProperty(notes = N_SERVER_COST, example = E_SERVER_COST)
    private BigDecimal serverCost;

    @ApiModelProperty(notes = N_IS_NEW, example = E_IS_NEW)
    private Boolean isNew;

    @ApiModelProperty(notes = N_REBATES_RULES_ID, example = E_REBATES_RULES_ID)
    private String rebatesRulesId;

    @ApiModelProperty(notes = N_RULES_NAME, example = E_RULES_NAME)
    private String rulesName;

    @ApiModelProperty(notes = N_PROPORTION, example = E_PROPORTION)
    private BigDecimal proportion;

    @ApiModelProperty(notes = N_DIVIDED_PROPORTION, example = E_DIVIDED_PROPORTION)
    private BigDecimal dividedProportion;

    @ApiModelProperty(notes = N_REBATES_AMOUNT, example = E_REBATES_AMOUNT)
    private BigDecimal rebatesAmount;

    @ApiModelProperty(notes = N_REMARK, example = E_REMARK)
    private String remark;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = "手机号")
    private String salePhone;

    @ApiModelProperty(notes = "身份证号")
    private String saleIdCard;

    @ApiModelProperty(notes = "所在地区")
    private String region;

    @ApiModelProperty(notes = "所属分组")
    private String saleGroup;

    @ApiModelProperty(notes = "所属分组Id")
    private String saleGroupId;
}

